package cn.edu.scau.cmi.xianjiehua.composite.safe;

import java.util.concurrent.atomic.AtomicInteger;

public class SafePerson implements SafeComponent{
	
	private static AtomicInteger newInt = new AtomicInteger(1);
	private int count = newInt.getAndIncrement();
	
	@Override
	public String getName() {
		return "Safe Person " + count;
	}

}
